body {
  /* 菜单样式 */
  /* 主内容区 */
  /* 顶部导航 */
  /* 面包屑 */
  /* 搜索框 */
  /* 管理员信息 */
  /* 数据概览卡片 */
  /* 工具栏 */
  /* 按钮样式 */
  /* 表格样式 */
  /* 商品信息 */
  /* 状态标签 */
  /* 操作按钮 */
  /* 分页 */
}
body .admin-sidebar {
  width: 250px;
  background: #001529;
  color: #fff;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
}
body .admin-sidebar .admin-header {
  padding: 20px;
}
body .logo-container {
  text-align: center;
}
body .logo {
  width: 120px;
  height: auto;
}
body .admin-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
body .admin-menu li a {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: #fff;
}
body .admin-menu li i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}
body .badge {
  background: #ff4d4f;
  color: #fff;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 12px;
  margin-left: auto;
}
body .admin-menu {
  list-style: none;
}
body .admin-menu a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #fff;
  text-decoration: none;
}
body .admin-menu a i {
  margin-right: 14px;
  font-size: 16px;
  width: 16px;
  text-align: center;
}
body .admin-menu li.active a {
  color: #fff;
  background: #1890ff;
}
body .admin-menu a:hover {
  color: #fff;
  background: rgba(24, 144, 255, 0.1);
}
body .badge {
  background: #ff4d4f;
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  margin-left: auto;
}
body .admin-main {
  flex: 1;
  margin-left: 250px;
  padding: 24px;
  min-height: 100vh;
}
body .admin-header {
  /* justify-content: space-between; */
  align-items: center;
  padding: 16px 24px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
}
body .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
}
body .breadcrumb span {
  color: #666;
  font-size: 14px;
}
body .breadcrumb i {
  color: #999;
  font-size: 12px;
}
body .admin-search {
  position: relative;
  width: 100%;
  display: flex;
}
body .Search {
  width: 10%;
  padding: 10px 4px;
  background-color: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 15px;
}
body .admin-search input {
  width: 50%;
  padding: 8px 16px;
  padding-right: 40px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  transition: all 0.3s;
}
body .admin-search input:focus {
  border-color: #40a9ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  outline: none;
}
body .admin-search i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  cursor: pointer;
}
body .admin-user {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 250px;
  cursor: pointer;
}
body .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
body .data-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 24px;
  margin-top: 24px;
}
body .data-card {
  background: #fff;
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  display: flex;
  align-items: center;
  gap: 16px;
}
body .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(24, 144, 255, 0.1);
  color: #1890ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
body .card-info h3 {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}
body .card-info p {
  font-size: 24px;
  color: #333;
  font-weight: 500;
}
body .toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 16px 24px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
}
body .filter-group {
  display: flex;
  align-items: center;
  gap: 16px;
}
body .filter-select {
  min-width: 120px;
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  outline: none;
}
body .date-range {
  display: flex;
  align-items: center;
  gap: 8px;
}
body .date-input {
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  outline: none;
}
body .btn {
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}
body .btn-primary {
  background: #1890ff;
  color: #fff;
}
body .btn-primary:hover {
  background: #40a9ff;
}
body .btn-export {
  background: #fff;
  border: 1px solid #d9d9d9;
  color: #666;
}
body .btn-export:hover {
  color: #1890ff;
  border-color: #1890ff;
}
body .table-container {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  overflow: auto;
}
body .order-table {
  width: 100%;
  border-collapse: collapse;
}
body .order-table th,
body .order-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}
body .order-table th {
  background: #fafafa;
  font-weight: 500;
  color: #666;
}
body .order-table tbody tr:hover {
  background: #fafafa;
}
body .product-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
body .product-info img {
  width: 90px;
  height: 110px;
  object-fit: cover;
  border-radius: 4px;
}
body .product-detail {
  flex: 1;
}
body .product-name {
  font-weight: 500;
  margin-bottom: 4px;
}
body .product-spec {
  color: #999;
  font-size: 12px;
}
body .status-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 12px;
}
body .status-paid {
  background: #e6f7ff;
  color: #1890ff;
}
body .status-shipping {
  background: #e6f4ff;
  color: #40a9ff;
}
body .status-completed {
  background: #f6ffed;
  color: #52c41a;
}
body .status-cancelled {
  background: #fff1f0;
  color: #ff4d4f;
}
body .action-buttons {
  display: flex;
  gap: 8px;
}
body .btn-icon {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: 4px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
}
body .btn-icon:hover {
  color: #1890ff;
  background: rgba(24, 144, 255, 0.1);
}
body .pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
}
body .page-controls {
  display: flex;
  gap: 8px;
}
body .page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #d9d9d9;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
body .page-btn.active {
  background: #1890ff;
  border-color: #1890ff;
  color: #fff;
}
body .page-btn:hover:not(.active):not(:disabled) {
  border-color: #1890ff;
  color: #1890ff;
}
body .page-btn:disabled {
  cursor: not-allowed;
  color: #d9d9d9;
}
